{% extends 'base.html' %}

{% block title %}删除故事 - AI故事生成系统{% endblock %}

{% block content %}
<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header bg-danger text-white">
                    <h2 class="card-title h4 mb-0">删除故事确认</h2>
                </div>
                <div class="card-body">
                    <h5 class="mb-3">确定要删除《{{ story.title }}》吗？</h5>
                    <p class="text-danger mb-4">此操作无法撤销，删除后数据将无法恢复。</p>
                    
                    <form method="post">
                        {% csrf_token %}
                        <div class="d-flex">
                            <button type="submit" class="btn btn-danger me-2">确认删除</button>
                            <a href="{% url 'story:detail' story.pk %}" class="btn btn-outline-secondary">取消</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %} 